home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Classicos / bananamonkey.swf / scripts / frame_16 / PlaceObject2_250_142 / CLIPACTIONRECORD onClipEvent(enterFrame).as next >
Encoding:
Text File  |  2006-06-19  |  356 b   |  24 lines

  1. onClipEvent(enterFrame){
  2.    _X = _X - 3;
  3.    if(_X <= -750)
  4.    {
  5.       _X = 900;
  6.       pl = 1;
  7.    }
  8.    if(_root.doba == 0)
  9.    {
  10.       if(_X < -90)
  11.       {
  12.          _root.doba = random(5);
  13.       }
  14.       if(_X < 350)
  15.       {
  16.          if(pl == 1)
  17.          {
  18.             this.gotoAndStop(2);
  19.             pl = 0;
  20.          }
  21.       }
  22.    }
  23. }
  24.